import logging
#封装日志
def log_set():
    logging.basicConfig(level=logging.DEBUG,filename="weidudiansanglog.txt",filemode="a+",
                        format="%(filename)s--%(asctime)s--%(message)s")